/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/27/2010 
           
            */

           
            using System;
            using System.Collections.Generic;
            using System.Text;    
        
                    
            namespace BusinessObject{
                  /// <summary>
                    /// This is KhachHang object, it is object of BusinessObject table.
                /// </summary>
                public class KhachHang {
		#region fields
		private int maKhachHang; 
		private string tenKhachHang; 
		private string diaChi; 
		private string dienThoai; 
		private string email; 
 private Paging objPaging;

 private SortOrder objSortOrder;

 private string condition;

 private int toltalRow;

		
		#endregion fields
		
		#region constructor
            /// <summary>
            /// Define default constructor for KhachHang Object
            /// </summary>
		public KhachHang (){
			this.maKhachHang = int.MinValue;
			this.tenKhachHang = string.Empty;
			this.diaChi = string.Empty;
			this.dienThoai = string.Empty;
			this.email = string.Empty;this.objPaging =new Paging();
this.objSortOrder =new SortOrder();
this.condition =string.Empty;
this.toltalRow=0;
                
		        }
		#endregion constructor
		#region properties
                /// <summary>
            /// Define MaKhachHang Property
            /// </summary>
		public int MaKhachHang {
			get { return this.maKhachHang; }
			set { this.maKhachHang = value; }
		}
                /// <summary>
            /// Define TenKhachHang Property
            /// </summary>
		public string TenKhachHang {
			get { return this.tenKhachHang; }
			set { this.tenKhachHang = value; }
		}
                /// <summary>
            /// Define DiaChi Property
            /// </summary>
		public string DiaChi {
			get { return this.diaChi; }
			set { this.diaChi = value; }
		}
                /// <summary>
            /// Define DienThoai Property
            /// </summary>
		public string DienThoai {
			get { return this.dienThoai; }
			set { this.dienThoai = value; }
		}
                /// <summary>
            /// Define Email Property
            /// </summary>
		public string Email {
			get { return this.email; }
			set { this.email = value; }
		}public Paging ObjectPaging
                            {
                                get{return this.objPaging;}
                                set{this.objPaging=value;}
                            }
            public SortOrder ObjectSortOrder
                            {
                                get{return this.objSortOrder;}
                                set{this.objSortOrder=value;}
                            }
            public string Condition
                            {
                                get{return this.condition;}
                                set{this.condition=value;}
                            }
            public int ToltalRow
                            {
                                get{return this.toltalRow;}
                                set{this.toltalRow=value;}
                            }
            
              #endregion properties
	}
}